Announcement

Collapse
No announcement yet.

Entity modified_at changes even when no fields have `isFieldChangd` == true

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Entity modified_at changes even when no fields have `isFieldChangd` == true

    Hello,

    I have a process where changes from a third party service come through and I need to update a synchronised object in Espo.

    I'm unable to see which fields have changed due to their API. My approach is to set all the related espo entity fields to the values of the 3d party object. For those fields which haven't changed, `isFieldChanged` will return false. I would then presume that if I save the entity, the modified date would only change IF at least one field has been altered.

    However it seems that the modified_at field is changed each and every time.

    Is this expected / by design / or is it a bug?
Working...
X